package org.flower.bean;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class OrderExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public OrderExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andShounameIsNull() {
            addCriterion("shouName is null");
            return (Criteria) this;
        }

        public Criteria andShounameIsNotNull() {
            addCriterion("shouName is not null");
            return (Criteria) this;
        }

        public Criteria andShounameEqualTo(String value) {
            addCriterion("shouName =", value, "shouname");
            return (Criteria) this;
        }

        public Criteria andShounameNotEqualTo(String value) {
            addCriterion("shouName <>", value, "shouname");
            return (Criteria) this;
        }

        public Criteria andShounameGreaterThan(String value) {
            addCriterion("shouName >", value, "shouname");
            return (Criteria) this;
        }

        public Criteria andShounameGreaterThanOrEqualTo(String value) {
            addCriterion("shouName >=", value, "shouname");
            return (Criteria) this;
        }

        public Criteria andShounameLessThan(String value) {
            addCriterion("shouName <", value, "shouname");
            return (Criteria) this;
        }

        public Criteria andShounameLessThanOrEqualTo(String value) {
            addCriterion("shouName <=", value, "shouname");
            return (Criteria) this;
        }

        public Criteria andShounameLike(String value) {
            addCriterion("shouName like", value, "shouname");
            return (Criteria) this;
        }

        public Criteria andShounameNotLike(String value) {
            addCriterion("shouName not like", value, "shouname");
            return (Criteria) this;
        }

        public Criteria andShounameIn(List<String> values) {
            addCriterion("shouName in", values, "shouname");
            return (Criteria) this;
        }

        public Criteria andShounameNotIn(List<String> values) {
            addCriterion("shouName not in", values, "shouname");
            return (Criteria) this;
        }

        public Criteria andShounameBetween(String value1, String value2) {
            addCriterion("shouName between", value1, value2, "shouname");
            return (Criteria) this;
        }

        public Criteria andShounameNotBetween(String value1, String value2) {
            addCriterion("shouName not between", value1, value2, "shouname");
            return (Criteria) this;
        }

        public Criteria andShouphoneIsNull() {
            addCriterion("shouPhone is null");
            return (Criteria) this;
        }

        public Criteria andShouphoneIsNotNull() {
            addCriterion("shouPhone is not null");
            return (Criteria) this;
        }

        public Criteria andShouphoneEqualTo(String value) {
            addCriterion("shouPhone =", value, "shouphone");
            return (Criteria) this;
        }

        public Criteria andShouphoneNotEqualTo(String value) {
            addCriterion("shouPhone <>", value, "shouphone");
            return (Criteria) this;
        }

        public Criteria andShouphoneGreaterThan(String value) {
            addCriterion("shouPhone >", value, "shouphone");
            return (Criteria) this;
        }

        public Criteria andShouphoneGreaterThanOrEqualTo(String value) {
            addCriterion("shouPhone >=", value, "shouphone");
            return (Criteria) this;
        }

        public Criteria andShouphoneLessThan(String value) {
            addCriterion("shouPhone <", value, "shouphone");
            return (Criteria) this;
        }

        public Criteria andShouphoneLessThanOrEqualTo(String value) {
            addCriterion("shouPhone <=", value, "shouphone");
            return (Criteria) this;
        }

        public Criteria andShouphoneLike(String value) {
            addCriterion("shouPhone like", value, "shouphone");
            return (Criteria) this;
        }

        public Criteria andShouphoneNotLike(String value) {
            addCriterion("shouPhone not like", value, "shouphone");
            return (Criteria) this;
        }

        public Criteria andShouphoneIn(List<String> values) {
            addCriterion("shouPhone in", values, "shouphone");
            return (Criteria) this;
        }

        public Criteria andShouphoneNotIn(List<String> values) {
            addCriterion("shouPhone not in", values, "shouphone");
            return (Criteria) this;
        }

        public Criteria andShouphoneBetween(String value1, String value2) {
            addCriterion("shouPhone between", value1, value2, "shouphone");
            return (Criteria) this;
        }

        public Criteria andShouphoneNotBetween(String value1, String value2) {
            addCriterion("shouPhone not between", value1, value2, "shouphone");
            return (Criteria) this;
        }

        public Criteria andShouaddressIsNull() {
            addCriterion("shouAddress is null");
            return (Criteria) this;
        }

        public Criteria andShouaddressIsNotNull() {
            addCriterion("shouAddress is not null");
            return (Criteria) this;
        }

        public Criteria andShouaddressEqualTo(String value) {
            addCriterion("shouAddress =", value, "shouaddress");
            return (Criteria) this;
        }

        public Criteria andShouaddressNotEqualTo(String value) {
            addCriterion("shouAddress <>", value, "shouaddress");
            return (Criteria) this;
        }

        public Criteria andShouaddressGreaterThan(String value) {
            addCriterion("shouAddress >", value, "shouaddress");
            return (Criteria) this;
        }

        public Criteria andShouaddressGreaterThanOrEqualTo(String value) {
            addCriterion("shouAddress >=", value, "shouaddress");
            return (Criteria) this;
        }

        public Criteria andShouaddressLessThan(String value) {
            addCriterion("shouAddress <", value, "shouaddress");
            return (Criteria) this;
        }

        public Criteria andShouaddressLessThanOrEqualTo(String value) {
            addCriterion("shouAddress <=", value, "shouaddress");
            return (Criteria) this;
        }

        public Criteria andShouaddressLike(String value) {
            addCriterion("shouAddress like", value, "shouaddress");
            return (Criteria) this;
        }

        public Criteria andShouaddressNotLike(String value) {
            addCriterion("shouAddress not like", value, "shouaddress");
            return (Criteria) this;
        }

        public Criteria andShouaddressIn(List<String> values) {
            addCriterion("shouAddress in", values, "shouaddress");
            return (Criteria) this;
        }

        public Criteria andShouaddressNotIn(List<String> values) {
            addCriterion("shouAddress not in", values, "shouaddress");
            return (Criteria) this;
        }

        public Criteria andShouaddressBetween(String value1, String value2) {
            addCriterion("shouAddress between", value1, value2, "shouaddress");
            return (Criteria) this;
        }

        public Criteria andShouaddressNotBetween(String value1, String value2) {
            addCriterion("shouAddress not between", value1, value2, "shouaddress");
            return (Criteria) this;
        }

        public Criteria andDingnameIsNull() {
            addCriterion("dingName is null");
            return (Criteria) this;
        }

        public Criteria andDingnameIsNotNull() {
            addCriterion("dingName is not null");
            return (Criteria) this;
        }

        public Criteria andDingnameEqualTo(String value) {
            addCriterion("dingName =", value, "dingname");
            return (Criteria) this;
        }

        public Criteria andDingnameNotEqualTo(String value) {
            addCriterion("dingName <>", value, "dingname");
            return (Criteria) this;
        }

        public Criteria andDingnameGreaterThan(String value) {
            addCriterion("dingName >", value, "dingname");
            return (Criteria) this;
        }

        public Criteria andDingnameGreaterThanOrEqualTo(String value) {
            addCriterion("dingName >=", value, "dingname");
            return (Criteria) this;
        }

        public Criteria andDingnameLessThan(String value) {
            addCriterion("dingName <", value, "dingname");
            return (Criteria) this;
        }

        public Criteria andDingnameLessThanOrEqualTo(String value) {
            addCriterion("dingName <=", value, "dingname");
            return (Criteria) this;
        }

        public Criteria andDingnameLike(String value) {
            addCriterion("dingName like", value, "dingname");
            return (Criteria) this;
        }

        public Criteria andDingnameNotLike(String value) {
            addCriterion("dingName not like", value, "dingname");
            return (Criteria) this;
        }

        public Criteria andDingnameIn(List<String> values) {
            addCriterion("dingName in", values, "dingname");
            return (Criteria) this;
        }

        public Criteria andDingnameNotIn(List<String> values) {
            addCriterion("dingName not in", values, "dingname");
            return (Criteria) this;
        }

        public Criteria andDingnameBetween(String value1, String value2) {
            addCriterion("dingName between", value1, value2, "dingname");
            return (Criteria) this;
        }

        public Criteria andDingnameNotBetween(String value1, String value2) {
            addCriterion("dingName not between", value1, value2, "dingname");
            return (Criteria) this;
        }

        public Criteria andDingphoneIsNull() {
            addCriterion("dingPhone is null");
            return (Criteria) this;
        }

        public Criteria andDingphoneIsNotNull() {
            addCriterion("dingPhone is not null");
            return (Criteria) this;
        }

        public Criteria andDingphoneEqualTo(String value) {
            addCriterion("dingPhone =", value, "dingphone");
            return (Criteria) this;
        }

        public Criteria andDingphoneNotEqualTo(String value) {
            addCriterion("dingPhone <>", value, "dingphone");
            return (Criteria) this;
        }

        public Criteria andDingphoneGreaterThan(String value) {
            addCriterion("dingPhone >", value, "dingphone");
            return (Criteria) this;
        }

        public Criteria andDingphoneGreaterThanOrEqualTo(String value) {
            addCriterion("dingPhone >=", value, "dingphone");
            return (Criteria) this;
        }

        public Criteria andDingphoneLessThan(String value) {
            addCriterion("dingPhone <", value, "dingphone");
            return (Criteria) this;
        }

        public Criteria andDingphoneLessThanOrEqualTo(String value) {
            addCriterion("dingPhone <=", value, "dingphone");
            return (Criteria) this;
        }

        public Criteria andDingphoneLike(String value) {
            addCriterion("dingPhone like", value, "dingphone");
            return (Criteria) this;
        }

        public Criteria andDingphoneNotLike(String value) {
            addCriterion("dingPhone not like", value, "dingphone");
            return (Criteria) this;
        }

        public Criteria andDingphoneIn(List<String> values) {
            addCriterion("dingPhone in", values, "dingphone");
            return (Criteria) this;
        }

        public Criteria andDingphoneNotIn(List<String> values) {
            addCriterion("dingPhone not in", values, "dingphone");
            return (Criteria) this;
        }

        public Criteria andDingphoneBetween(String value1, String value2) {
            addCriterion("dingPhone between", value1, value2, "dingphone");
            return (Criteria) this;
        }

        public Criteria andDingphoneNotBetween(String value1, String value2) {
            addCriterion("dingPhone not between", value1, value2, "dingphone");
            return (Criteria) this;
        }

        public Criteria andServicedateIsNull() {
            addCriterion("ServiceDate is null");
            return (Criteria) this;
        }

        public Criteria andServicedateIsNotNull() {
            addCriterion("ServiceDate is not null");
            return (Criteria) this;
        }

        public Criteria andServicedateEqualTo(Date value) {
            addCriterion("ServiceDate =", value, "servicedate");
            return (Criteria) this;
        }

        public Criteria andServicedateNotEqualTo(Date value) {
            addCriterion("ServiceDate <>", value, "servicedate");
            return (Criteria) this;
        }

        public Criteria andServicedateGreaterThan(Date value) {
            addCriterion("ServiceDate >", value, "servicedate");
            return (Criteria) this;
        }

        public Criteria andServicedateGreaterThanOrEqualTo(Date value) {
            addCriterion("ServiceDate >=", value, "servicedate");
            return (Criteria) this;
        }

        public Criteria andServicedateLessThan(Date value) {
            addCriterion("ServiceDate <", value, "servicedate");
            return (Criteria) this;
        }

        public Criteria andServicedateLessThanOrEqualTo(Date value) {
            addCriterion("ServiceDate <=", value, "servicedate");
            return (Criteria) this;
        }

        public Criteria andServicedateIn(List<Date> values) {
            addCriterion("ServiceDate in", values, "servicedate");
            return (Criteria) this;
        }

        public Criteria andServicedateNotIn(List<Date> values) {
            addCriterion("ServiceDate not in", values, "servicedate");
            return (Criteria) this;
        }

        public Criteria andServicedateBetween(Date value1, Date value2) {
            addCriterion("ServiceDate between", value1, value2, "servicedate");
            return (Criteria) this;
        }

        public Criteria andServicedateNotBetween(Date value1, Date value2) {
            addCriterion("ServiceDate not between", value1, value2, "servicedate");
            return (Criteria) this;
        }

        public Criteria andGreetingcardmsgIsNull() {
            addCriterion("GreetingCardMsg is null");
            return (Criteria) this;
        }

        public Criteria andGreetingcardmsgIsNotNull() {
            addCriterion("GreetingCardMsg is not null");
            return (Criteria) this;
        }

        public Criteria andGreetingcardmsgEqualTo(String value) {
            addCriterion("GreetingCardMsg =", value, "greetingcardmsg");
            return (Criteria) this;
        }

        public Criteria andGreetingcardmsgNotEqualTo(String value) {
            addCriterion("GreetingCardMsg <>", value, "greetingcardmsg");
            return (Criteria) this;
        }

        public Criteria andGreetingcardmsgGreaterThan(String value) {
            addCriterion("GreetingCardMsg >", value, "greetingcardmsg");
            return (Criteria) this;
        }

        public Criteria andGreetingcardmsgGreaterThanOrEqualTo(String value) {
            addCriterion("GreetingCardMsg >=", value, "greetingcardmsg");
            return (Criteria) this;
        }

        public Criteria andGreetingcardmsgLessThan(String value) {
            addCriterion("GreetingCardMsg <", value, "greetingcardmsg");
            return (Criteria) this;
        }

        public Criteria andGreetingcardmsgLessThanOrEqualTo(String value) {
            addCriterion("GreetingCardMsg <=", value, "greetingcardmsg");
            return (Criteria) this;
        }

        public Criteria andGreetingcardmsgLike(String value) {
            addCriterion("GreetingCardMsg like", value, "greetingcardmsg");
            return (Criteria) this;
        }

        public Criteria andGreetingcardmsgNotLike(String value) {
            addCriterion("GreetingCardMsg not like", value, "greetingcardmsg");
            return (Criteria) this;
        }

        public Criteria andGreetingcardmsgIn(List<String> values) {
            addCriterion("GreetingCardMsg in", values, "greetingcardmsg");
            return (Criteria) this;
        }

        public Criteria andGreetingcardmsgNotIn(List<String> values) {
            addCriterion("GreetingCardMsg not in", values, "greetingcardmsg");
            return (Criteria) this;
        }

        public Criteria andGreetingcardmsgBetween(String value1, String value2) {
            addCriterion("GreetingCardMsg between", value1, value2, "greetingcardmsg");
            return (Criteria) this;
        }

        public Criteria andGreetingcardmsgNotBetween(String value1, String value2) {
            addCriterion("GreetingCardMsg not between", value1, value2, "greetingcardmsg");
            return (Criteria) this;
        }

        public Criteria andContentIsNull() {
            addCriterion("Content is null");
            return (Criteria) this;
        }

        public Criteria andContentIsNotNull() {
            addCriterion("Content is not null");
            return (Criteria) this;
        }

        public Criteria andContentEqualTo(String value) {
            addCriterion("Content =", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentNotEqualTo(String value) {
            addCriterion("Content <>", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentGreaterThan(String value) {
            addCriterion("Content >", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentGreaterThanOrEqualTo(String value) {
            addCriterion("Content >=", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentLessThan(String value) {
            addCriterion("Content <", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentLessThanOrEqualTo(String value) {
            addCriterion("Content <=", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentLike(String value) {
            addCriterion("Content like", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentNotLike(String value) {
            addCriterion("Content not like", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentIn(List<String> values) {
            addCriterion("Content in", values, "content");
            return (Criteria) this;
        }

        public Criteria andContentNotIn(List<String> values) {
            addCriterion("Content not in", values, "content");
            return (Criteria) this;
        }

        public Criteria andContentBetween(String value1, String value2) {
            addCriterion("Content between", value1, value2, "content");
            return (Criteria) this;
        }

        public Criteria andContentNotBetween(String value1, String value2) {
            addCriterion("Content not between", value1, value2, "content");
            return (Criteria) this;
        }

        public Criteria andCouidIsNull() {
            addCriterion("couId is null");
            return (Criteria) this;
        }

        public Criteria andCouidIsNotNull() {
            addCriterion("couId is not null");
            return (Criteria) this;
        }

        public Criteria andCouidEqualTo(String value) {
            addCriterion("couId =", value, "couid");
            return (Criteria) this;
        }

        public Criteria andCouidNotEqualTo(String value) {
            addCriterion("couId <>", value, "couid");
            return (Criteria) this;
        }

        public Criteria andCouidGreaterThan(String value) {
            addCriterion("couId >", value, "couid");
            return (Criteria) this;
        }

        public Criteria andCouidGreaterThanOrEqualTo(String value) {
            addCriterion("couId >=", value, "couid");
            return (Criteria) this;
        }

        public Criteria andCouidLessThan(String value) {
            addCriterion("couId <", value, "couid");
            return (Criteria) this;
        }

        public Criteria andCouidLessThanOrEqualTo(String value) {
            addCriterion("couId <=", value, "couid");
            return (Criteria) this;
        }

        public Criteria andCouidLike(String value) {
            addCriterion("couId like", value, "couid");
            return (Criteria) this;
        }

        public Criteria andCouidNotLike(String value) {
            addCriterion("couId not like", value, "couid");
            return (Criteria) this;
        }

        public Criteria andCouidIn(List<String> values) {
            addCriterion("couId in", values, "couid");
            return (Criteria) this;
        }

        public Criteria andCouidNotIn(List<String> values) {
            addCriterion("couId not in", values, "couid");
            return (Criteria) this;
        }

        public Criteria andCouidBetween(String value1, String value2) {
            addCriterion("couId between", value1, value2, "couid");
            return (Criteria) this;
        }

        public Criteria andCouidNotBetween(String value1, String value2) {
            addCriterion("couId not between", value1, value2, "couid");
            return (Criteria) this;
        }

        public Criteria andCopewithpriceIsNull() {
            addCriterion("copewithPrice is null");
            return (Criteria) this;
        }

        public Criteria andCopewithpriceIsNotNull() {
            addCriterion("copewithPrice is not null");
            return (Criteria) this;
        }

        public Criteria andCopewithpriceEqualTo(Double value) {
            addCriterion("copewithPrice =", value, "copewithprice");
            return (Criteria) this;
        }

        public Criteria andCopewithpriceNotEqualTo(Double value) {
            addCriterion("copewithPrice <>", value, "copewithprice");
            return (Criteria) this;
        }

        public Criteria andCopewithpriceGreaterThan(Double value) {
            addCriterion("copewithPrice >", value, "copewithprice");
            return (Criteria) this;
        }

        public Criteria andCopewithpriceGreaterThanOrEqualTo(Double value) {
            addCriterion("copewithPrice >=", value, "copewithprice");
            return (Criteria) this;
        }

        public Criteria andCopewithpriceLessThan(Double value) {
            addCriterion("copewithPrice <", value, "copewithprice");
            return (Criteria) this;
        }

        public Criteria andCopewithpriceLessThanOrEqualTo(Double value) {
            addCriterion("copewithPrice <=", value, "copewithprice");
            return (Criteria) this;
        }

        public Criteria andCopewithpriceIn(List<Double> values) {
            addCriterion("copewithPrice in", values, "copewithprice");
            return (Criteria) this;
        }

        public Criteria andCopewithpriceNotIn(List<Double> values) {
            addCriterion("copewithPrice not in", values, "copewithprice");
            return (Criteria) this;
        }

        public Criteria andCopewithpriceBetween(Double value1, Double value2) {
            addCriterion("copewithPrice between", value1, value2, "copewithprice");
            return (Criteria) this;
        }

        public Criteria andCopewithpriceNotBetween(Double value1, Double value2) {
            addCriterion("copewithPrice not between", value1, value2, "copewithprice");
            return (Criteria) this;
        }

        public Criteria andPaidinpriceIsNull() {
            addCriterion("PaidinPrice is null");
            return (Criteria) this;
        }

        public Criteria andPaidinpriceIsNotNull() {
            addCriterion("PaidinPrice is not null");
            return (Criteria) this;
        }

        public Criteria andPaidinpriceEqualTo(Double value) {
            addCriterion("PaidinPrice =", value, "paidinprice");
            return (Criteria) this;
        }

        public Criteria andPaidinpriceNotEqualTo(Double value) {
            addCriterion("PaidinPrice <>", value, "paidinprice");
            return (Criteria) this;
        }

        public Criteria andPaidinpriceGreaterThan(Double value) {
            addCriterion("PaidinPrice >", value, "paidinprice");
            return (Criteria) this;
        }

        public Criteria andPaidinpriceGreaterThanOrEqualTo(Double value) {
            addCriterion("PaidinPrice >=", value, "paidinprice");
            return (Criteria) this;
        }

        public Criteria andPaidinpriceLessThan(Double value) {
            addCriterion("PaidinPrice <", value, "paidinprice");
            return (Criteria) this;
        }

        public Criteria andPaidinpriceLessThanOrEqualTo(Double value) {
            addCriterion("PaidinPrice <=", value, "paidinprice");
            return (Criteria) this;
        }

        public Criteria andPaidinpriceIn(List<Double> values) {
            addCriterion("PaidinPrice in", values, "paidinprice");
            return (Criteria) this;
        }

        public Criteria andPaidinpriceNotIn(List<Double> values) {
            addCriterion("PaidinPrice not in", values, "paidinprice");
            return (Criteria) this;
        }

        public Criteria andPaidinpriceBetween(Double value1, Double value2) {
            addCriterion("PaidinPrice between", value1, value2, "paidinprice");
            return (Criteria) this;
        }

        public Criteria andPaidinpriceNotBetween(Double value1, Double value2) {
            addCriterion("PaidinPrice not between", value1, value2, "paidinprice");
            return (Criteria) this;
        }

        public Criteria andOrderstateIsNull() {
            addCriterion("orderState is null");
            return (Criteria) this;
        }

        public Criteria andOrderstateIsNotNull() {
            addCriterion("orderState is not null");
            return (Criteria) this;
        }

        public Criteria andOrderstateEqualTo(Integer value) {
            addCriterion("orderState =", value, "orderstate");
            return (Criteria) this;
        }

        public Criteria andOrderstateNotEqualTo(Integer value) {
            addCriterion("orderState <>", value, "orderstate");
            return (Criteria) this;
        }

        public Criteria andOrderstateGreaterThan(Integer value) {
            addCriterion("orderState >", value, "orderstate");
            return (Criteria) this;
        }

        public Criteria andOrderstateGreaterThanOrEqualTo(Integer value) {
            addCriterion("orderState >=", value, "orderstate");
            return (Criteria) this;
        }

        public Criteria andOrderstateLessThan(Integer value) {
            addCriterion("orderState <", value, "orderstate");
            return (Criteria) this;
        }

        public Criteria andOrderstateLessThanOrEqualTo(Integer value) {
            addCriterion("orderState <=", value, "orderstate");
            return (Criteria) this;
        }

        public Criteria andOrderstateIn(List<Integer> values) {
            addCriterion("orderState in", values, "orderstate");
            return (Criteria) this;
        }

        public Criteria andOrderstateNotIn(List<Integer> values) {
            addCriterion("orderState not in", values, "orderstate");
            return (Criteria) this;
        }

        public Criteria andOrderstateBetween(Integer value1, Integer value2) {
            addCriterion("orderState between", value1, value2, "orderstate");
            return (Criteria) this;
        }

        public Criteria andOrderstateNotBetween(Integer value1, Integer value2) {
            addCriterion("orderState not between", value1, value2, "orderstate");
            return (Criteria) this;
        }

        public Criteria andUseridIsNull() {
            addCriterion("userId is null");
            return (Criteria) this;
        }

        public Criteria andUseridIsNotNull() {
            addCriterion("userId is not null");
            return (Criteria) this;
        }

        public Criteria andUseridEqualTo(Integer value) {
            addCriterion("userId =", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotEqualTo(Integer value) {
            addCriterion("userId <>", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridGreaterThan(Integer value) {
            addCriterion("userId >", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridGreaterThanOrEqualTo(Integer value) {
            addCriterion("userId >=", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLessThan(Integer value) {
            addCriterion("userId <", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLessThanOrEqualTo(Integer value) {
            addCriterion("userId <=", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridIn(List<Integer> values) {
            addCriterion("userId in", values, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotIn(List<Integer> values) {
            addCriterion("userId not in", values, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridBetween(Integer value1, Integer value2) {
            addCriterion("userId between", value1, value2, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotBetween(Integer value1, Integer value2) {
            addCriterion("userId not between", value1, value2, "userid");
            return (Criteria) this;
        }

        public Criteria andOrderdateIsNull() {
            addCriterion("orderDate is null");
            return (Criteria) this;
        }

        public Criteria andOrderdateIsNotNull() {
            addCriterion("orderDate is not null");
            return (Criteria) this;
        }

        public Criteria andOrderdateEqualTo(Date value) {
            addCriterion("orderDate =", value, "orderdate");
            return (Criteria) this;
        }

        public Criteria andOrderdateNotEqualTo(Date value) {
            addCriterion("orderDate <>", value, "orderdate");
            return (Criteria) this;
        }

        public Criteria andOrderdateGreaterThan(Date value) {
            addCriterion("orderDate >", value, "orderdate");
            return (Criteria) this;
        }

        public Criteria andOrderdateGreaterThanOrEqualTo(Date value) {
            addCriterion("orderDate >=", value, "orderdate");
            return (Criteria) this;
        }

        public Criteria andOrderdateLessThan(Date value) {
            addCriterion("orderDate <", value, "orderdate");
            return (Criteria) this;
        }

        public Criteria andOrderdateLessThanOrEqualTo(Date value) {
            addCriterion("orderDate <=", value, "orderdate");
            return (Criteria) this;
        }

        public Criteria andOrderdateIn(List<Date> values) {
            addCriterion("orderDate in", values, "orderdate");
            return (Criteria) this;
        }

        public Criteria andOrderdateNotIn(List<Date> values) {
            addCriterion("orderDate not in", values, "orderdate");
            return (Criteria) this;
        }

        public Criteria andOrderdateBetween(Date value1, Date value2) {
            addCriterion("orderDate between", value1, value2, "orderdate");
            return (Criteria) this;
        }

        public Criteria andOrderdateNotBetween(Date value1, Date value2) {
            addCriterion("orderDate not between", value1, value2, "orderdate");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}